@import "parameter";

::-webkit-scrollbar {
  width: 0;
}

html,
body {
  padding: 0;
  margin: 0;
  color: #333;
}

.card {
  border: $border;
  background-color: $white;
}

//.ant-layout-content{
//  position: relative;
//  padding: 24px;
//}

.page-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
}

.page-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0 24px;

  & + .page-card {
    height: calc(100% - 50px);
    margin-top: 50px;
  }

  .page-back {
    width: 80px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: solid 1px $border-c;
    @extend .hover;
  }

  .page-title {
    margin-left: 24px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

  .header-left, .header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .header-right {
    justify-content: flex-end;
  }
}

.page-card {
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 24px;
  overflow: auto;
}


.table-filter {
  height: auto;
  padding-bottom: 24px;
  border-bottom: solid 1px $border-c;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  .filter-left {
    flex: 1;
    margin-right: 40px;
  }

  .filter-right {
    width: 230px;
  }

  .filter-row {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    .row-title {
      width: 90px;
      line-height: 32px;
    }

    .row-content {
      width: calc(100% - 90px);
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }

    .row-checkbox{
      margin: 5px 10px;
    }

    .row-select{
      width: 200px;
      height: 32px;
    }
  }

  .filter-search{
    margin-top: 10px;
  }
}

.table-wrap{
  margin: 24px 0;
  .table-header{
    height: 54px;
    padding: 16px;
    border: $border;
    border-bottom: 0 none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
  }
}
